package com.czh.springboot04.service;

import com.czh.springboot04.entity.HeartMark;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HeartMarkService {
    int addHeartMark(HeartMark heartMark);
    int deleteHeartMark(int id);
    int updateHeartMark(HeartMark heartMark);
    PageInfo<HeartMark> findAll(int pageNum, int pageSize);
    HeartMark findById(int id);
}
